performAccessibilityAction
open fun performAccessibilityAction(@NonNull view: View, action: Int, @Nullable arguments: Bundle): Boolean(source)
Deprecated
Call performAccessibilityAction directly.
Performs the specified accessibility action on the view. For possible accessibility actions look at AccessibilityNodeInfoCompat.
If an AccessibilityDelegateCompat has been specified via calling setAccessibilityDelegate its performAccessibilityAction is responsible for handling this call.
Note: Avoid setting accessibility focus with ACTION_ACCESSIBILITY_FOCUS. This is intended to be controlled by screen readers. Apps changing focus can confuse screen readers, and the resulting behavior can vary by device and screen reader version.
Return
Whether the action was performed.
Parameters
view
view on which to perform the action.
action
The action to perform.
arguments
Optional action arguments.